package com.ecnu.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * ecnu_消息待办表
 * </p>
 *
 * @author zdn
 * @since 2025-03-19
 */
@Data
public class ProjectMessage {

//    private static final long serialVersionUID = 1L;
    @TableId("id")
    private String id;

    @TableField("title")
    private String title;

    @TableField("super_id")
    private String superId;

    @TableField("dept_id")
    private String deptId;

    @TableField("type")
    private String type;

    @TableField("status")
    private String status;

    @TableField("create_user")
    private String createUser;

    @TableField("create_name")
    private String createName;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("create_time")
    private Date createTime;

    @TableField("update_user")
    private String updateUser;

    @TableField("update_name")
    private String updateName;

    @JsonIgnore
    @TableField("update_time")
    private Date updateTime;

}
